package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 发票详情表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "invoice_info")
public class InvoiceInfo implements Serializable {
    /**
     * 发票信息id
     */
    @TableId(value = "info_id", type = IdType.INPUT)
    private Integer infoId;

    /**
     * 客户id
     */
    @TableField(value = "customer_id")
    private Integer customerId;

    /**
     * 抬头类型 1单位 2个人
     */
    @TableField(value = "title_type")
    private Integer titleType;

    /**
     * 开票抬头
     */
    @TableField(value = "invoice_title")
    private String invoiceTitle;

    /**
     * 纳税识别号
     */
    @TableField(value = "tax_number")
    private String taxNumber;

    /**
     * 开户行
     */
    @TableField(value = "deposit_bank")
    private String depositBank;

    /**
     * 开户账户
     */
    @TableField(value = "deposit_account")
    private String depositAccount;

    /**
     * 开票地址
     */
    @TableField(value = "deposit_address")
    private String depositAddress;

    /**
     * 电话
     */
    @TableField(value = "telephone")
    private String telephone;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建人id
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}